package com.example.securitydemo2.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.securitydemo2.entity.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    /***
     * 角色权限查询
     */
    List<Permission> findPermissionByRole(Integer roleId);
}